<!-- 主页-借款管理-添加 -->
<section id="container">
    <!--main content start-->
    <section id="main-content">
        <section class="wrapper">
            <!--state overview end-->
            <div class="row">
                <div class="col-lg-12">
                    <section class="panel">
                        <header class="panel-heading">
                            <div class="search-box">
                                <!-- {{wkStepName}} -->
                                基本信息
                            </div>
                        </header>
                        <div class="panel-body">
                            <div class="form-group customerForm">
                                <label class="col-sm-2 control-label">借款类型</label>
                                <div class="col-sm-10">
                                    <select class="form-control typesel" ng-model="borrow.borrowingType" certus-required
                                        ng-change="personChange()" disabled>
                                        <option value="{{xx.code}}" ng-repeat="xx in personalSelect">{{xx.name}}
                                        </option>
                                    </select>
                                </div>
                            </div>
                            <div class="form-group customerForm" ng-hide="borrow.personVisible">
                                <label class="col-sm-2 control-label">项目名称</label>
                                <div class="col-sm-10">
                                    <input type="text" list="browsers" class="form-control tyepoption"
                                        placeholder="自动检索，查询结果较多时候，系统不显示，需要尽量多输入相关字段" certus-required ng-model="borrow.projName" disabled>
                                    <datalist id="browsers">
                                        <option ng-repeat="x in userProjSelect2" value="{{x.projName}}">
                                    </datalist>
                                </div>
                            </div>
                            <div class="form-group customerForm">
                                <label class="col-sm-2 control-label">借款金额</label>
                                <div class="col-sm-10">
                                    <input type="text" class="form-control" certus-required
                                        ng-model="borrow.borrowingAmount" disabled>
                                </div>
                            </div>
                            <div class="form-group customerForm">
                                <label class="col-sm-2 control-label">申请事由</label>
                                <div class="col-sm-10">
                                    <textarea class="form-control"  maxlength="120"  ng-model="borrow.borrowingOrigin" certus-required
                                        disabled></textarea>
                                </div>
                            </div>
                        </div>
                    </section>

                    <section class="panel">
                        <header class="panel-heading">审批意见</header>
                        <div class="panel-body">
                            <div class="form-group customerForm">
                                <textarea class="form-control" ng-model="borrowStep.opinionMsg" maxlength="120"
                                    placeholder="字数限制(120字以内)"></textarea>
                            </div>
                        </div>
                    </section>

                    <section class="panel">
                        <div class="panel-body">
                            <p class="default-buttons">
                                <a href="javascript:void(0);" class="button-back btn btn-info"
                                    onclick="window.history.back()">返回</a>
                                <a href="javascript:void(0);" class="button-back btn btn-warning btn-l10"
                                    ng-click="borrowingDenied()">退回</a>
                                <a href="javascript:void(0);" class="button-next  btn btn-success btn-l10"
                                    ng-click="borrowApproval()">确认</a>
                                <a href="javascript:void(0);" class="button-next  btn btn-danger btn-l10"
                                    ng-click="shutDown()">不同意</a>
                            </p>
                        </div>
                    </section>

                    <section class="panel">
                        <div class="panel-heading">
                            审批记录
                        </div>
                        <div class="panel-body">
                            <ul class="tp-ulst">
                                <li>
                                    <span>人员姓名 </span><span>修改时间</span><span>处理结果</span>
                                </li>
                                <div ng-repeat="ss in processs">
                                    <li>
                                        <span>{{ss.USER}}</span><span>{{ss.time | date:'yyyy-MM-dd hh:mm'}}</span><span>{{getsssbbb(ss.lastStatus)}}，{{ss.msg}}</span>
                                    </li>
                                </div>
                            </ul>
                        </div>
                    </section>
                </div>
            </div>
        </section>
    </section>
    <!--main content end-->
</section>

<script type="text/javascript" src="js/proinfo/borrow/borrowExamineEnd.js"></script>
<script type="text/javascript" src="js/borrowing/borrowing.js"></script>